//
//  QuotaXibHeaderCollectionReusableView.swift
//  YUANSHI
//
//  Created by pro on 2020/1/9.
//  Copyright © 2020 wangbin. All rights reserved.
//

import UIKit

class QuotaXibHeaderCollectionReusableView: UICollectionReusableView {

    var titLabel : UILabel = {

        let label = UILabel()
        label.textColor = UIColor.darkGray
        return label
    }()
    override func awakeFromNib() {
        super.awakeFromNib()
        // Initialization code
      
        self.addSubview(self.titLabel)
        self.titLabel.snp.makeConstraints { (make) in
            make.center.equalToSuperview()
        }
    }
    
    var conStr : String? {
        didSet{
            guard let str = conStr else {
                return
            }
            self.titLabel.text = str
        }
    }
    
}
